<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="sitemesh"
	uri="http://www.opensymphony.com/sitemesh/decorator"%>
<%@ include file="/WEB-INF/common/taglibs.jsp" %>
<!DOCTYPE html>
<html>
<head>
<title><sitemesh:title /></title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=8">
<meta name="keywords" content="双扬生物科技有限公司,饲料,添加剂">
<meta name="description" content="扬州双扬生物科技有限公司">

<link href="${BASE}/www/hui/css/bootstrap.min.css?v=3.4.0" rel="stylesheet">
<link href="${BASE}/www/hui/font-awesome/css/font-awesome.css?v=4.3.0" rel="stylesheet">

<!-- Morris -->
<link href="${BASE}/www/hui/css/plugins/morris/morris-0.4.3.min.css" rel="stylesheet">

<!-- Gritter -->
<link href="${BASE}/www/hui/js/plugins/gritter/jquery.gritter.css" rel="stylesheet">

<link href="${BASE}/www/hui/css/animate.css" rel="stylesheet">
<link href="${BASE}/www/hui/css/style.css" rel="stylesheet">
<script src="${BASE}/www/hui/js/jquery-2.1.1.min.js"></script>
<!-- jQuery Validation plugin javascript-->
<script src="${BASE}/www/hui/js/plugins/validate/jquery.validate.min.js"></script>
	<script src="${BASE}/www/lib/jquery-localstorage/jquery.storage.js"></script>
<script src="${BASE}/www/hui/js/plugins/validate/messages_zh.min.js"></script>
<script>
	$.validator.setDefaults({
		highlight: function (element) {
			$(element).closest('.form-group').removeClass('has-success').addClass('has-error');
		},
		success: function (element) {
			element.closest('.form-group').removeClass('has-error').addClass('has-success');
		},
		errorElement: "span",
		errorClass: "help-block m-b-none",
		validClass: "help-block m-b-none"
	});
</script>
<link rel="Shortcut Icon" href="${BASE }/www/img/favicon.ico">

<sitemesh:head />
</head>

<body>
	<div id="wrapper">
		<!--左侧导航树-->
		<%@ include file="/WEB-INF/layouts/left.jsp"%>
		<div id="page-wrapper" class="gray-bg dashbard-1">
			<%@ include file="/WEB-INF/layouts/header.jsp"%>
			<sitemesh:body />
		</div>
		<%@ include file="/WEB-INF/layouts/footer.jsp"%>
	</div>

	<!-- Mainly scripts -->

	<script src="${BASE}/www/hui/js/bootstrap.min.js?v=3.4.0"></script>
	<script src="${BASE}/www/hui/js/plugins/metisMenu/jquery.metisMenu.js"></script>
	<script src="${BASE}/www/hui/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>

	<!-- Flot -->
	<script src="${BASE}/www/hui/js/plugins/flot/jquery.flot.js"></script>
	<script src="${BASE}/www/hui/js/plugins/flot/jquery.flot.tooltip.min.js"></script>
	<script src="${BASE}/www/hui/js/plugins/flot/jquery.flot.spline.js"></script>
	<script src="${BASE}/www/hui/js/plugins/flot/jquery.flot.resize.js"></script>
	<script src="${BASE}/www/hui/js/plugins/flot/jquery.flot.pie.js"></script>

	<!-- Peity -->
	<script src="${BASE}/www/hui/js/plugins/peity/jquery.peity.min.js"></script>
	<script src="${BASE}/www/hui/js/demo/peity-demo.js"></script>

	<!-- Custom and plugin javascript -->
	<script src="${BASE}/www/hui/js/hplus.js?v=2.2.0"></script>
	<script src="${BASE}/www/hui/js/plugins/pace/pace.min.js"></script>

	<!-- jQuery UI -->
	<script src="${BASE}/www/hui/js/plugins/jquery-ui/jquery-ui.min.js"></script>

	<!-- GITTER -->
	<script src="${BASE}/www/hui/js/plugins/gritter/jquery.gritter.min.js"></script>

	<!-- EayPIE -->
	<script src="${BASE}/www/hui/js/plugins/easypiechart/jquery.easypiechart.js"></script>

	<!-- Sparkline -->
	<script src="${BASE}/www/hui/js/plugins/sparkline/jquery.sparkline.min.js"></script>

	<!-- Sparkline demo data  -->
	<script src="${BASE}/www/hui/js/demo/sparkline-demo.js"></script>

	<!-- Data Tables -->
	<script src="${BASE}/www/hui/js/plugins/dataTables/jquery.dataTables.js"></script>
	<script src="${BASE}/www/hui/js/plugins/dataTables/dataTables.bootstrap.js"></script>

	<!-- Jvectormap -->
	<script src="${BASE}/www/hui/js/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js"></script>
	<script src="${BASE}/www/hui/js/plugins/jvectormap/jquery-jvectormap-world-mill-en.js"></script>

	<script>
		$(document).ready(function () {
			var navigation = $.localStorage('nav');
			WinMove();
			if(!navigation){
				setTimeout(function () {
					$.gritter.add({
						title: '您有2条未读信息',
						text: '请前往<a href="mailbox.html" class="text-warning">收件箱</a>查看今日任务',
						time: 10000
					});
				}, 2000);
			}


//			$('.chart').easyPieChart({
//				barColor: '#f8ac59',
//				//                scaleColor: false,
//				scaleLength: 5,
//				lineWidth: 4,
//				size: 80
//			});

//			$('.chart2').easyPieChart({
//				barColor: '#1c84c6',
//				//                scaleColor: false,
//				scaleLength: 5,
//				lineWidth: 4,
//				size: 80
//			});

			/*var data1 = [
				[0, 4], [1, 8], [2, 5], [3, 10], [4, 4], [5, 16], [6, 5], [7, 11], [8, 6], [9, 11], [10, 30], [11, 10], [12, 13], [13, 4], [14, 3], [15, 3], [16, 6]
			];
			var data2 = [
				[0, 1], [1, 0], [2, 2], [3, 0], [4, 1], [5, 3], [6, 1], [7, 5], [8, 2], [9, 3], [10, 2], [11, 1], [12, 0], [13, 2], [14, 8], [15, 0], [16, 0]
			];
			$("#flot-dashboard-chart").length && $.plot($("#flot-dashboard-chart"), [
				data1, data2
			], {
				series: {
					lines: {
						show: false,
						fill: true
					},
					splines: {
						show: true,
						tension: 0.4,
						lineWidth: 1,
						fill: 0.4
					},
					points: {
						radius: 0,
						show: true
					},
					shadowSize: 2
				},
				grid: {
					hoverable: true,
					clickable: true,
					tickColor: "#d5d5d5",
					borderWidth: 1,
					color: '#d5d5d5'
				},
				colors: ["#1ab394", "#464f88"],
				xaxis: {},
				yaxis: {
					ticks: 4
				},
				tooltip: false
			});*/



		});
	</script>
</body>
</html>